<template>
  <router-view v-if="flag"/>
</template>

<script setup>
import { ref, nextTick, provide } from "vue";

const flag = ref(true)
const reload = () => {
  flag.value = false
  nextTick(() => {
      flag.value = true
  })
}
provide("reload", reload)
</script>

<style scoped>
</style>
